package cn.momoshenchi.mapper;

import cn.momoshenchi.pojo.MatchItems;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity cn.momoshenchi.pojo.MatchItems
 */
public interface MatchItemsMapper extends BaseMapper<MatchItems> {

    /**
     * 随机获取指定数量的题目
     * @param size
     * @return
     */
    List<MatchItems> getRandomList(Integer size);
}




